[gd_scene load_steps=3 format=3 uid="uid://rgll4to22jal"]

[ext_resource type="Script" path="res://scenes/ui/wood_button/wood_button.gd" id="1_ybfs3"]
[ext_resource type="Texture2D" uid="uid://7n05p7rlyl05" path="res://assets/sprites/ui/button/normal/normal.png" id="2_v3bel"]

[node name="WoodButton" type="TextureButton"]
z_index = 2
z_as_relative = false
custom_minimum_size = Vector2(32, 32)
offset_right = 32.0
offset_bottom = 32.0
size_flags_horizontal = 4
size_flags_vertical = 4
stretch_mode = 3
script = ExtResource("1_ybfs3")

[node name="Plate" type="NinePatchRect" parent="."]
z_index = -1
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_v3bel")
draw_center = false
patch_margin_left = 16
patch_margin_top = 16
patch_margin_right = 16
patch_margin_bottom = 16
axis_stretch_horizontal = 1
axis_stretch_vertical = 2

[connection signal="button_down" from="." to="." method="_on_button_down"]
[connection signal="button_up" from="." to="." method="_on_button_up"]
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]
